import { createApp } from "vue";
// 样式重置表
import "@/assets/css/reset.scss";
import "./style.css";
import App from "./App.vue";
import router from "@/router";
import Vant from "vant";
import "vant/lib/index.css";
import { Swipe, SwipeItem } from "vant";
import "virtual:svg-icons-register";
import moment from "moment";
import SvgIcon from "@/components/SvgIcon/index.vue";
import "@/router/permission";
const app = createApp(App);
app.config.globalProperties.$moment = moment;
app.component("SvgIcon", SvgIcon);
app.use(Vant);
app.use(Swipe);
app.use(SwipeItem);
app.use(router);
app.mount("#app");
